package com.stockz.equity.charting.view;

import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.HashSet;
import java.util.Set;

import com.stockz.equity.charting.display.Displayable;

public class StockRectangle extends Rectangle {
	private static final long serialVersionUID = 6505403214080293009L;
	
	private final Set<Displayable> displayableSet = new HashSet<Displayable>();
	private double minimumValueVisible;
	private double maximumValueVisible;
	private int position;
	private Point opaque = new Point();

	public StockRectangle() {
		super();
	}
	public StockRectangle(Dimension d) {
		super(d);
	}
	public StockRectangle(int x, int y, int width, int height) {
		super(x, y, width, height);
	}
	public StockRectangle(int width, int height) {
		super(width, height);
	}
	public StockRectangle(Point p, Dimension d) {
		super(p, d);
	}
	public StockRectangle(Point p) {
		super(p);
	}
	public StockRectangle(Rectangle r) {
		super(r);
	}
	
	public double getMinimumValueVisible() {
		return minimumValueVisible;
	}
	public void setMinimumValueVisible(double minimumValueVisible) {
		this.minimumValueVisible = minimumValueVisible;
	}
	public double getMaximumValueVisible() {
		return maximumValueVisible;
	}
	public void setMaximumValueVisible(double maximumValueVisible) {
		this.maximumValueVisible = maximumValueVisible;
	}
	public int getPosition() {
		return position;
	}
	public void setPosition(int position) {
		this.position = position;
	}
	public Set<Displayable> getDisplayableSet() {
		return displayableSet;
	}
	public Point getOpaque() {
		return opaque;
	}
	public void setOpaque(Point opaque) {
		this.opaque = opaque;
	}
}
